home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 2
/
LSD and 17bit Compendium Deluxe - Volume II.iso
/
a
/
prog
/
misc
/
xes120.lha
/
XES
/
REXX
/
Save.xdme
< prev
next >
Wrap
Text File
|
1994-11-09
|
761b
|
30 lines
/* Save.xdme */
/* Copyright © 1994 Fergus Duniho */
if ~show("L","rexxsupport.library") then
if ~addlib("rexxsupport.library",0,-30,0) then exit
options results
address 'XDME.1'
'rxresult $method'
method = result
compressor = "LIBS:compressors/xpk" || method || ".library"
if method = "NONE" || ~exists(compressor) then do
saveold
end
else do
'writeto t:temp'
'rxresult $password'
password = result
if password = 0 then
xcom = 'execute (xpack t:temp method' method || ')'
else
xcom = 'execute (xpack t:temp method' method 'password "' || password || '")'
xcom
'rxresult $filename'
fullname = '"' || result || '"'
xcom = "execute (copy t:temp" fullname || ")"
xcom
call delete("t:temp")
end